﻿@model IEnumerable
           
<script type="text/javascript">
    $(document).ready(function() {
        $("#EnableAccessibilityCompliant").change(
            function() {
                $("form").submit();
            }
        );
    });
</script>

@using(Html.BeginForm()) {
    <div class="BottomPadding">
        @Html.CheckBox("EnableAccessibilityCompliant", (bool)Session["EnableAccessibilityCompliant"], new { style = "vertical-align: middle" })
        <label class="checkBox" for="EnableAccessibilityCompliant" style="vertical-align: middle">Enable the grid's AccessibilityCompliant property</label>
    </div>
    <br />
    @Html.Partial("CompliancePartial", Model)
}